﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cos.Core
{
    public sealed class ApplicationContext
    {
        /// <summary>
        /// Prevents a default instance of the <see cref="ApplicationContext"/> class from being created.
        /// </summary>
        private ApplicationContext()
        {

        }

        /// <summary>
        /// Initializes the <see cref="ApplicationContext"/> class.
        /// </summary>
        static ApplicationContext()
        {
            Current = new ApplicationContext();
        }

        /// <summary>
        /// Gets the current instance of <see cref="ApplicationContext"/>.
        /// </summary>
        public static ApplicationContext Current { get; private set; }
    }
}
